package com.hn.pojo;

import java.util.List;

/**
 * @作者 : wangchangdian
 * @创建时间 : 2019/3/26 - 16:52
 */
public class Teacher {
    private int Teaid;//教师工号
    private String Teaname;//教师姓名
    private String Teaposition;//教师职位
    private List<Course>courses; //课程集合

    @Override
    public String toString() {
        return "Teacher{" +
                "Teaid=" + Teaid +
                ", Teaname='" + Teaname + '\'' +
                ", Teaposition='" + Teaposition + '\'' +
                ", courses=" + courses +
                '}';
    }

    public void setTeaid(int teaid) {
        Teaid = teaid;
    }

    public void setTeaname(String teaname) {
        Teaname = teaname;
    }

    public void setTeaposition(String teaposition) {
        Teaposition = teaposition;
    }

    public void setCourses(List<Course> courses) {
        this.courses = courses;
    }
}
